import java.awt.*;
import java.util.Random;

/**
 * 
 * Genera colores aleatorios
 *
 */

public class Colores {
   private Color Colour;	
   public Colores() {
      setColour(Color.black);
   }
   
   public Color generar_color() {
	   Random r = new Random();
	   return Color.getHSBColor(r.nextInt(150) + 1,r.nextInt(50) + 1,r.nextInt(200) + 1);
   }

   public void setColour(Color colour) {
	   Colour = colour;
   }

   public Color getColour() {
	   return Colour;
   }
}
